<template>
  <div class="exam-detail-page">
    <div class="exam-page">
      <nav3></nav3>
      <div class="exam-page__content">
        <div class="exam-container exam-confirm">
          <div class="exam-confirm-wrapper">
            <div class="exam-confirm-wrapper__title">
              <div class="icon"></div>
              <div class="text f14">Confirm your details</div>
            </div>
            <div class="exam-confirm-wrapper__content">
              <div class="title h1">EXAMPLE</div>
              <ul class="lines">
                <li class="item f14">· Name:</li>
                <li class="item f14">· Date of birth:XX-XX-XXXX</li>
                <li class="item">
                  <span class="f14">· Candidate number:</span>
                  <input type="text" placeholder="" class="input-text f14">
                  <span class="txt-msg f12">输入数字123456即可</span>
                </li>
              </ul>
              <div class="tips">
                <div class="icon"></div>
                <div class="text f14">If your details aren’t correct, please inform the invigilator.
                </div>
              </div>
              <div class="exam-button default" @click="readDetail2">My details are correct</div>
            </div>
          </div>
          <div class="exam-confirm-footer f14">*本部分在真实机考中，会需要填写相关信息并确认。</div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
  import nav3 from '../components/nav3.vue'
  export default {
    data() {
      return {

      }
    },
    components: {
      nav3
    },
    methods: {
      readDetail2() {
        this.$router.push('/readDetail2');
      }
    }
  }

</script>

<style lang="less" scoped>
  .exam-detail-page {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    .exam-page,
    .exam-page__content {
      display: flex;
      flex-direction: column;
      position: relative;
    }

    .exam-page {
      justify-content: flex-start;
      min-width: 1080px;
      max-width: 100%;
      height: 100%;
      overflow: hidden;
      background: #dee5f5;
    }

    .exam-page__content {
      justify-content: space-between;
      width: 100%;
      height: 96%;
    }

    .exam-page,
    .exam-page__content {
      display: flex;
      flex-direction: column;
      position: relative;
    }

    div.exam-confirm {
      padding-top: 10%;
      justify-content: flex-start;
    }

    .exam-container {
      width: 100%;
      height: 100%;
      padding-top: 1.19792rem;
      padding-bottom: 12px;
      font-family: Arial;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-between;
      position: relative;
      overflow-y: auto;
    }

    .exam-confirm-wrapper {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: center;
      width: 58.33333rem;
      height: 17.70833rem;
      min-height: 17.70833rem !important;
    }

    .exam-confirm-wrapper__title {
      display: flex;
      flex-direction: row;
      height: 2.5rem;
    }

    .icon {
      width: 2.5rem;
      height: 2.5rem;
      vertical-align: middle;
      background: url('../assets/img-user-check.f40c549b.png') 50% no-repeat;
      background-size: 100% 100%;
      display: inline-block;
    }

    .exam-confirm-wrapper__title .text {
      margin-left: .20833rem;
      height: 2.5rem;
      line-height: 2.5rem;
      font-weight: 700;
      color: #000;
      vertical-align: middle;
    }

    .f14 {
      font-size: 14px;
    }

    .f14,
    .f16 {
      height: 24px;
      line-height: 24px;
    }

    .exam-confirm-wrapper__content {
      display: flex;
      flex-direction: column;
      margin-top: .52083rem;
      width: 58.33333rem;
      border: 1px solid #fff;
      border-radius: 8px;
      position: relative;
    }

    div.title {
      width: 100%;
      height: 3.4375rem;
      line-height: 3.4375rem;
      text-align: center;
      vertical-align: middle;
      font-family: Microsoft YaHei;
      font-weight: 700;
      color: #dd2a1a;
    }

    .h1,
    .h2 {
      height: 30px;
      line-height: 30px;
      font-weight: 700;
    }

    .h1 {
      font-size: 28px;
    }

    .lines {
      margin-left: 1.82292rem;
      color: #000;
    }

    .item {
      display: flex;
      flex-direction: row;
      list-style-type: none;
    }

    .input-text {
      margin-left: .52083rem;
      width: 6.14583rem;
      padding-left: .26042rem;
    }

    .txt-msg {
      margin-left: .46875rem;
      color: #666;
    }

    .f12 {
      height: 24px;
      line-height: 24px;
      font-size: 12px;
    }

    .tips {
      width: 100%;
      height: 1.45833rem;
      line-height: 1.45833rem;
      margin: 1.19792rem 0 0 1.04167rem;
      display: flex;
      flex-direction: row;
      align-items: center;

      .icon {
        margin-right: .52083rem;
        width: .83333rem;
        height: .83333rem;
        background: url() 50% no-repeat;
        background-size: 100% 100%;
      }

      .text {
        font-family: Arial;
        color: #000;
      }
    }

    .exam-button {
      width: 9.89583rem;
      -ms-flex-item-align: center;
      align-self: center;
      margin: 1.61458rem 0 1.04167rem 0;
    }

    .exam-button.default {
      -webkit-box-shadow: 0 2px 3px 0 #707070;
      box-shadow: 0 2px 3px 0 #707070;
      color: #333;
      background: #dee5f5;
      border: 3px solid transparent;
    }

    .exam-button {
      height: 1.97917rem;
      line-height: 1.97917rem;
      border-radius: 4px;
      vertical-align: middle;
      text-align: center;
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
    }

    .exam-confirm-footer {
      width: 58.33333rem;
      height: 7.44792rem;
      line-height: 7.44792rem;
      text-align: center;
      vertical-align: middle;
      color: #666;
    }
  }

</style>
